-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue (GH6290) in new DialogDisplayerImpl behaviour #6294
Conversation
… GH5989 / GH6216.
Force pushed (again) because of failing test. Actually realised the test had been updated as part of #5989 and the update here behaves like the previous NetBeans code did. Putting back the old test line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand the whole leaf thing, but since I haven't tried I don't feel to bad. This certainly seems to avoid parenting to a Window. I'm good with it (except for the initBound()
).
Took a news break while reviewing, came across https://www.cnn.com/videos/us/2023/08/02/boston-police-officer-falls-down-slide-cprog-mh-orig.cnn which somehow resonated.
platform/core.windows/src/org/netbeans/core/windows/services/NbPresenter.java
Show resolved
Hide resolved
platform/core.windows/src/org/netbeans/core/windows/services/DialogDisplayerImpl.java
Show resolved
Hide resolved
platform/core.windows/src/org/netbeans/core/windows/services/DialogDisplayerImpl.java
Show resolved
Hide resolved
platform/core.windows/src/org/netbeans/core/windows/services/DialogDisplayerImpl.java
Show resolved
Hide resolved
tested the last dev build of this PR and it seems to be working fine - without exceptions in the log. I did also notice that the save/discard dialog which pops up when #4792 is used is now centered on the main window, which is better since it used the popup as parent in NB 18 believe. |
Thanks @mbien Also confirmation from the bug reporter on the dev build. Let's merge and test in rc4. |
Attempt to fix issue #6290 in new DialogDisplayerImpl behaviour introduced in #5989 and #6216.
Possible alternative to reverting in #6291